import { _decorator, Component, Node } from 'cc';
import { BaseComponent } from '../../Manager/UIManager/BaseComponent';
import { GAME_POP, GAME_SCENE } from '../../Data/GlobalData';
const { ccclass, property } = _decorator;

@ccclass('LoginScene')
export class LoginScene extends BaseComponent {

    protected Init(): void {
        app.logManager.info("游戏首页初始化")
    }
    protected OnShow(): void {
        app.logManager.info("游戏首页显示")
    }

    /**
     * 点击开始游戏
     */
    private StartClick() {
        app.logManager.info("点击开始游戏")
        app.uiManager.ShowUI(GAME_SCENE.GameScene);
    }

}


